package com.offcn.service.impl;

import com.offcn.service.MyService;
import org.springframework.stereotype.Service;

@Service
public class myServiceImpl implements MyService {
    @Override
    public void add(String name, Integer age) {
        System.out.printf("新增功能");
    }

    @Override
    public void update(Integer id) {
        System.out.printf("修改功能");
    }

    @Override
    public void delete(Integer id) {
        System.out.printf("删除功能");
    }

    @Override
    public String findOne(Integer id) {
        System.out.printf("查找功能");
        return "111";
    }
}
